package com.original.simuladoresws.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import com.original.simuladoresws.controller.FixedIncomeCalculateController;
import com.original.simuladoresws.entities.soap.SOAPFixedIncomeCalculateInput;
import com.original.simuladoresws.entities.soap.SOAPFixedIncomeCalculateOutput;

@WebService(serviceName="/FixedIncomeCalculateService")
@SOAPBinding(style = Style.RPC, use = Use.LITERAL)
public class FixedIncomeCalculateService{
	
	FixedIncomeCalculateController contrller = new FixedIncomeCalculateController();
    @WebMethod(operationName="fixedIncomeCalculate")
    public SOAPFixedIncomeCalculateOutput fixedIncomeCalculate(SOAPFixedIncomeCalculateInput input) {
    	return contrller.fixedIncomeCalculate(input);
    }
}
